package upc.dew.inscripcionalumnos.model;

/**
 *
 * @author ROGER
 */

public class Usuario 
{
    private Integer codigo;
    private String username;
    private String password;
    private Rol rol;

    public Usuario()
    {
    	
    }
    
    public Usuario(Integer codigo, String username, String password, Rol rol)
    {
    	this.codigo = codigo;
    	this.username = username;
    	this.password = password;
    	this.rol = rol;
    }
    
    public Rol getRol() 
    {
        return rol;
    }

    public void setRol(Rol rol) 
    {
        this.rol = rol;
    }
    
	public Integer getCodigo() 
	{
		return codigo;
	}

	public void setCodigo(Integer codigo) 
	{
		this.codigo = codigo;
	}

	public String getPassword() 
	{
        return password;
    }

    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getUsername() 
    {
        return username;
    }

    public void setUsername(String username) 
    {
        this.username = username;
    }
}